package com.lan.support.response.ex;

public enum SExCode implements ExCode {
    SYS(-1000, "系统异常，请稍后重试"),
    No_Login(-2000, "未登录"),
    No_Permission(-3000, "没有权限"),
    NO_AUTH(-4000, "token过期");
    int code;

    String name;

    SExCode(int code, String name) {
        this.code = code;
        this.name = name;
    }

    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getName() {
        return name;
    }
}
